package net.jxtz.jxtzos.impl.spider;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import net.jxtz.jxtzos.entity.spider.SpiderBeike;
import net.jxtz.jxtzos.entity.web.SpiderUpgrade;
import net.jxtz.jxtzos.mapper.spider.SpiderBeikeMapper;
import net.jxtz.jxtzos.service.spider.ISpiderBeikeService;
import net.jxtz.jxtzos.spider.SpiderFactory;
import net.jxtz.jxtzos.spider.process.BeiKeProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 贝壳业务层
 * @author lmh
 * @version 1.0
 */
@Service
public class SpiderBeikeServiceImpl extends ServiceImpl<SpiderBeikeMapper, SpiderBeike> implements ISpiderBeikeService {

    @Autowired
    private SpiderBeikeMapper mapper;

    @Override
    public List<SpiderUpgrade> getUpgradeTimeAndCount() {
        return mapper.getUpgradeTimeAndCount();
    }
}
